| f | module Cisco-IOS-XR-um-router-static-cfg { | f | module Cisco-IOS-XR-um-router-static-cfg { |
| namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-router-static-cfg"; | | namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-router-static-cfg"; |
| prefix um-router-static-cfg; | | prefix um-router-static-cfg; |
| | | |
| import cisco-semver { | | import cisco-semver { |
| prefix semver; | | prefix semver; |
| } | | } |
| import Cisco-IOS-XR-types { | | import Cisco-IOS-XR-types { |
| prefix xr; | | prefix xr; |
| } | | } |
| import ietf-inet-types { | | import ietf-inet-types { |
| prefix inet; | | prefix inet; |
| n | } | n | |
| import ietf-yang-types { | | |
| prefix yang; | | |
| } | | } |
| | | |
| organization | | organization |
| "Cisco Systems, Inc."; | | "Cisco Systems, Inc."; |
| contact | | contact |
| "Cisco Systems, Inc. | | "Cisco Systems, Inc. |
| Customer Service | | Customer Service |
| | | |
| Postal: 170 West Tasman Drive | | Postal: 170 West Tasman Drive |
| San Jose, CA 95134 | | San Jose, CA 95134 |
| | | |
| Tel: +1 800 553-NETS | | Tel: +1 800 553-NETS |
| | | |
| E-mail: cs-yang@cisco.com"; | | E-mail: cs-yang@cisco.com"; |
| description | | description |
| "This module contains a collection of YANG definitions | | "This module contains a collection of YANG definitions |
| for Cisco IOS-XR router-static package configuration. | | for Cisco IOS-XR router-static package configuration. |
| | | |
| This YANG module augments the | | This YANG module augments the |
| modules with configuration data. | | modules with configuration data. |
| | | |
| n | Copyright (c) 2019-2023 by Cisco Systems, Inc. | n | Copyright (c) 2019-2022 by Cisco Systems, Inc. |
| All rights reserved."; | | All rights reserved."; |
| | | |
| n | revision 2023-10-18 { | n | |
| description | | |
| "Added new field tunnel-opt-mode for tunnel/vxlan container | | |
| 2023-05-05 | | |
| Added support for tunnel remote-next-hop. | | |
| 2022-08-18 | | |
| Added algorithm node support under ipv6 hierarchy. | | |
| 2022-06-30 | | |
| Added leaf description under vrf-only. | | |
| 2022-01-25 | | |
| Added container srv6 under segment-routing ipv6 unicast."; | | |
| semver:module-version "2.1.0"; | | |
| } | | |
| revision 2021-01-19 { | | revision 2021-01-19 { |
| description | | description |
| "Added must constraints under list node prefix and vrf."; | | "Added must constraints under list node prefix and vrf."; |
| semver:module-version "2.0.0"; | | semver:module-version "2.0.0"; |
| } | | } |
| revision 2019-06-10 { | | revision 2019-06-10 { |
| description | | description |
| "Establish semantic version baseline."; | | "Establish semantic version baseline."; |
| semver:module-version "1.1.0"; | | semver:module-version "1.1.0"; |
| } | | } |
| revision 2019-04-04 { | | revision 2019-04-04 { |
| description | | description |
| "Initial version"; | | "Initial version"; |
| } | | } |
| | | |
| container router { | | container router { |
| description | | description |
| "Enable a routing process"; | | "Enable a routing process"; |
| container static { | | container static { |
| description | | description |
| "Static route configuration subcommands"; | | "Static route configuration subcommands"; |
| container address-family { | | container address-family { |
| description | | description |
| "Static route address family configuration subcommands"; | | "Static route address family configuration subcommands"; |
| container ipv4 { | | container ipv4 { |
| description | | description |
| "IPv4 commands"; | | "IPv4 commands"; |
| container unicast { | | container unicast { |
| description | | description |
| "Unicast commands"; | | "Unicast commands"; |
| container prefixes { | | container prefixes { |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| list prefix { | | list prefix { |
| must | | must |
| "segment-routing/mpls/path/names/name or | | "segment-routing/mpls/path/names/name or |
| sr-policies/sr-policy or | | sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address or | | nexthop-addresses/nexthop-address or |
| nexthop-addresses/nexthop-address-segment-routing or | | nexthop-addresses/nexthop-address-segment-routing or |
| vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or | | vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or |
| vrfs/vrf/nexthop-interfaces/nexthop-interface or | | vrfs/vrf/nexthop-interfaces/nexthop-interface or |
| vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or | | vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or |
| vrfs/vrf/nexthop-addresses/nexthop-address"; | | vrfs/vrf/nexthop-addresses/nexthop-address"; |
| key "prefix-address prefix-length"; | | key "prefix-address prefix-length"; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| leaf prefix-address { | | leaf prefix-address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| } | | } |
| leaf prefix-length { | | leaf prefix-length { |
| type uint32 { | | type uint32 { |
| range "0..128"; | | range "0..128"; |
| } | | } |
| description | | description |
| "Destination prefix length"; | | "Destination prefix length"; |
| } | | } |
| container segment-routing { | | container segment-routing { |
| description | | description |
| "Configure Static Segment Routing"; | | "Configure Static Segment Routing"; |
| container mpls { | | container mpls { |
| description | | description |
| "Configure mpls path name"; | | "Configure mpls path name"; |
| container path { | | container path { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| container names { | | container names { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| list name { | | list name { |
| key "path-name"; | | key "path-name"; |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| leaf path-name { | | leaf path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| list nexthop-address-segment-routing { | | list nexthop-address-segment-routing { |
| key "address mpls-path-name"; | | key "address mpls-path-name"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| leaf mpls-path-name { | | leaf mpls-path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| } | | } |
| container vrfs { | | container vrfs { |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| list vrf-only { | | list vrf-only { |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination only VRF"; | | "Destination only VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| n | leaf description { | n | |
| type string { | | |
| length "1..254" { | | |
| description | | |
| "short description of static route"; | | |
| } | | |
| } | | |
| description | | |
| "description of the static route"; | | |
| } | | |
| } | | } |
| list vrf { | | list vrf { |
| must | | must |
| "sr-policies/sr-policy or | | "sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address"; | | nexthop-addresses/nexthop-address"; |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container topologies { | | container topologies { |
| description | | description |
| "Topology static route configuration subcommands"; | | "Topology static route configuration subcommands"; |
| list topology { | | list topology { |
| key "topology-name"; | | key "topology-name"; |
| description | | description |
| "Topology static route configuration subcommands"; | | "Topology static route configuration subcommands"; |
| leaf topology-name { | | leaf topology-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..63" { | | length "1..63" { |
| description | | description |
| "Topology name"; | | "Topology name"; |
| } | | } |
| } | | } |
| description | | description |
| "Topology static route configuration subcommands"; | | "Topology static route configuration subcommands"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container multicast { | | container multicast { |
| description | | description |
| "Multicast commands"; | | "Multicast commands"; |
| container prefixes { | | container prefixes { |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| list prefix { | | list prefix { |
| must | | must |
| "segment-routing/mpls/path/names/name or | | "segment-routing/mpls/path/names/name or |
| sr-policies/sr-policy or | | sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address or | | nexthop-addresses/nexthop-address or |
| nexthop-addresses/nexthop-address-segment-routing or | | nexthop-addresses/nexthop-address-segment-routing or |
| vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or | | vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or |
| vrfs/vrf/nexthop-interfaces/nexthop-interface or | | vrfs/vrf/nexthop-interfaces/nexthop-interface or |
| vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or | | vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or |
| vrfs/vrf/nexthop-addresses/nexthop-address"; | | vrfs/vrf/nexthop-addresses/nexthop-address"; |
| key "prefix-address prefix-length"; | | key "prefix-address prefix-length"; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| leaf prefix-address { | | leaf prefix-address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| } | | } |
| leaf prefix-length { | | leaf prefix-length { |
| type uint32 { | | type uint32 { |
| range "0..128"; | | range "0..128"; |
| } | | } |
| description | | description |
| "Destination prefix length"; | | "Destination prefix length"; |
| } | | } |
| container segment-routing { | | container segment-routing { |
| description | | description |
| "Configure Static Segment Routing"; | | "Configure Static Segment Routing"; |
| container mpls { | | container mpls { |
| description | | description |
| "Configure mpls path name"; | | "Configure mpls path name"; |
| container path { | | container path { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| container names { | | container names { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| list name { | | list name { |
| key "path-name"; | | key "path-name"; |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| leaf path-name { | | leaf path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| list nexthop-address-segment-routing { | | list nexthop-address-segment-routing { |
| key "address mpls-path-name"; | | key "address mpls-path-name"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| leaf mpls-path-name { | | leaf mpls-path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| } | | } |
| container vrfs { | | container vrfs { |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| list vrf-only { | | list vrf-only { |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination only VRF"; | | "Destination only VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| n | leaf description { | n | |
| type string { | | |
| length "1..254" { | | |
| description | | |
| "short description of static route"; | | |
| } | | |
| } | | |
| description | | |
| "description of the static route"; | | |
| } | | |
| } | | } |
| list vrf { | | list vrf { |
| must | | must |
| "sr-policies/sr-policy or | | "sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address"; | | nexthop-addresses/nexthop-address"; |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container topologies { | | container topologies { |
| description | | description |
| "Topology static route configuration subcommands"; | | "Topology static route configuration subcommands"; |
| list topology { | | list topology { |
| key "topology-name"; | | key "topology-name"; |
| description | | description |
| "Topology static route configuration subcommands"; | | "Topology static route configuration subcommands"; |
| leaf topology-name { | | leaf topology-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..63" { | | length "1..63" { |
| description | | description |
| "Topology name"; | | "Topology name"; |
| } | | } |
| } | | } |
| description | | description |
| "Topology static route configuration subcommands"; | | "Topology static route configuration subcommands"; |
| } | | } |
| container prefixes { | | container prefixes { |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| list prefix { | | list prefix { |
| must | | must |
| "sr-policies/sr-policy or | | "sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address or | | nexthop-addresses/nexthop-address or |
| nexthop-addresses/nexthop-address-segment-routing or | | nexthop-addresses/nexthop-address-segment-routing or |
| vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or | | vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or |
| vrfs/vrf/nexthop-interfaces/nexthop-interface or | | vrfs/vrf/nexthop-interfaces/nexthop-interface or |
| vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or | | vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or |
| vrfs/vrf/nexthop-addresses/nexthop-address"; | | vrfs/vrf/nexthop-addresses/nexthop-address"; |
| key "prefix-address prefix-length"; | | key "prefix-address prefix-length"; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| leaf prefix-address { | | leaf prefix-address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| } | | } |
| leaf prefix-length { | | leaf prefix-length { |
| type uint32 { | | type uint32 { |
| range "0..128"; | | range "0..128"; |
| } | | } |
| description | | description |
| "Destination prefix length"; | | "Destination prefix length"; |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| list nexthop-address-segment-routing { | | list nexthop-address-segment-routing { |
| key "address mpls-path-name"; | | key "address mpls-path-name"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| leaf mpls-path-name { | | leaf mpls-path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| } | | } |
| container vrfs { | | container vrfs { |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| list vrf-only { | | list vrf-only { |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination only VRF"; | | "Destination only VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| n | leaf description { | n | |
| type string { | | |
| length "1..254" { | | |
| description | | |
| "short description of static route"; | | |
| } | | |
| } | | |
| description | | |
| "description of the static route"; | | |
| } | | |
| } | | } |
| list vrf { | | list vrf { |
| must | | must |
| "sr-policies/sr-policy or | | "sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address"; | | nexthop-addresses/nexthop-address"; |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container ipv6 { | | container ipv6 { |
| description | | description |
| "IPv6 commands"; | | "IPv6 commands"; |
| container unicast { | | container unicast { |
| description | | description |
| "Unicast commands"; | | "Unicast commands"; |
| container prefixes { | | container prefixes { |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| list prefix { | | list prefix { |
| must | | must |
| "segment-routing/mpls/path/names/name or | | "segment-routing/mpls/path/names/name or |
| n | segment-routing/srv6/endpoint/behavior/vrf or | n | |
| sr-policies/sr-policy or | | sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address or | | nexthop-addresses/nexthop-address or |
| nexthop-addresses/nexthop-address-segment-routing or | | nexthop-addresses/nexthop-address-segment-routing or |
| vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or | | vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or |
| vrfs/vrf/nexthop-interfaces/nexthop-interface or | | vrfs/vrf/nexthop-interfaces/nexthop-interface or |
| vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or | | vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or |
| vrfs/vrf/nexthop-addresses/nexthop-address"; | | vrfs/vrf/nexthop-addresses/nexthop-address"; |
| key "prefix-address prefix-length"; | | key "prefix-address prefix-length"; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| leaf prefix-address { | | leaf prefix-address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| } | | } |
| leaf prefix-length { | | leaf prefix-length { |
| type uint32 { | | type uint32 { |
| range "0..128"; | | range "0..128"; |
| } | | } |
| description | | description |
| "Destination prefix length"; | | "Destination prefix length"; |
| } | | } |
| container segment-routing { | | container segment-routing { |
| description | | description |
| "Configure Static Segment Routing"; | | "Configure Static Segment Routing"; |
| container mpls { | | container mpls { |
| description | | description |
| "Configure mpls path name"; | | "Configure mpls path name"; |
| container path { | | container path { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| container names { | | container names { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| list name { | | list name { |
| key "path-name"; | | key "path-name"; |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| leaf path-name { | | leaf path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| } | | |
| } | | |
| } | | |
| container srv6 { | | |
| description | | |
| "srv6 specific commands"; | | |
| container endpoint { | | |
| description | | |
| "srv6 endpoint for this prefix"; | | |
| container behavior { | | |
| description | | |
| "endpoint behaviour dx4, dt4 etc."; | | |
| list vrf { | | |
| must "udt46 or dt46"; | | |
| key "vrf-name"; | | |
| description | | |
| "vrf"; | | |
| leaf vrf-name { | | |
| type union { | | |
| type string { | | |
| pattern "default" { | | |
| description | | |
| "Use the default vrf"; | | |
| } | | |
| } | | |
| type string { | | |
| length "1..32" { | | |
| description | | |
| "vrf name"; | | |
| } | | |
| } | | |
| } | | |
| description | | |
| "vrf"; | | |
| } | | |
| container udt46 { | | |
| must "not(../dt46)"; | | |
| presence "Indicates a u-dt46 node is configured."; | | |
| description | | |
| "udt46 behavior"; | | |
| } | | |
| container dt46 { | | |
| must "not(../dt46)"; | | |
| presence "Indicates a dt46 node is configured."; | | |
| description | | |
| "dt46 behavior"; | | |
| } | | |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| list nexthop-address-segment-routing { | | list nexthop-address-segment-routing { |
| key "address mpls-path-name"; | | key "address mpls-path-name"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| leaf mpls-path-name { | | leaf mpls-path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| n | } | n | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| } | | } |
| } | | } |
| container vrfs { | | container vrfs { |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| list vrf-only { | | list vrf-only { |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination only VRF"; | | "Destination only VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| n | } | n | |
| leaf description { | | |
| type string { | | |
| length "1..254" { | | |
| description | | |
| "short description of static route"; | | |
| } | | |
| } | | |
| description | | |
| "description of the static route"; | | |
| } | | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| } | | } |
| list vrf { | | list vrf { |
| must | | must |
| "sr-policies/sr-policy or | | "sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address"; | | nexthop-addresses/nexthop-address"; |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| n | } | n | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container topologies { | | container topologies { |
| description | | description |
| "Topology static route configuration subcommands"; | | "Topology static route configuration subcommands"; |
| list topology { | | list topology { |
| key "topology-name"; | | key "topology-name"; |
| description | | description |
| "Topology static route configuration subcommands"; | | "Topology static route configuration subcommands"; |
| leaf topology-name { | | leaf topology-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..63" { | | length "1..63" { |
| description | | description |
| "Topology name"; | | "Topology name"; |
| } | | } |
| } | | } |
| description | | description |
| "Topology static route configuration subcommands"; | | "Topology static route configuration subcommands"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container multicast { | | container multicast { |
| description | | description |
| "Multicast commands"; | | "Multicast commands"; |
| container prefixes { | | container prefixes { |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| list prefix { | | list prefix { |
| must | | must |
| "segment-routing/mpls/path/names/name or | | "segment-routing/mpls/path/names/name or |
| sr-policies/sr-policy or | | sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address or | | nexthop-addresses/nexthop-address or |
| nexthop-addresses/nexthop-address-segment-routing or | | nexthop-addresses/nexthop-address-segment-routing or |
| vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or | | vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or |
| vrfs/vrf/nexthop-interfaces/nexthop-interface or | | vrfs/vrf/nexthop-interfaces/nexthop-interface or |
| vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or | | vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or |
| vrfs/vrf/nexthop-addresses/nexthop-address"; | | vrfs/vrf/nexthop-addresses/nexthop-address"; |
| key "prefix-address prefix-length"; | | key "prefix-address prefix-length"; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| leaf prefix-address { | | leaf prefix-address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| } | | } |
| leaf prefix-length { | | leaf prefix-length { |
| type uint32 { | | type uint32 { |
| range "0..128"; | | range "0..128"; |
| } | | } |
| description | | description |
| "Destination prefix length"; | | "Destination prefix length"; |
| } | | } |
| container segment-routing { | | container segment-routing { |
| description | | description |
| "Configure Static Segment Routing"; | | "Configure Static Segment Routing"; |
| container mpls { | | container mpls { |
| description | | description |
| "Configure mpls path name"; | | "Configure mpls path name"; |
| container path { | | container path { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| container names { | | container names { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| list name { | | list name { |
| key "path-name"; | | key "path-name"; |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| leaf path-name { | | leaf path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| list nexthop-address-segment-routing { | | list nexthop-address-segment-routing { |
| key "address mpls-path-name"; | | key "address mpls-path-name"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| leaf mpls-path-name { | | leaf mpls-path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| n | } | n | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| } | | } |
| } | | } |
| container vrfs { | | container vrfs { |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| list vrf-only { | | list vrf-only { |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination only VRF"; | | "Destination only VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| n | } | n | |
| leaf description { | | |
| type string { | | |
| length "1..254" { | | |
| description | | |
| "short description of static route"; | | |
| } | | |
| } | | |
| description | | |
| "description of the static route"; | | |
| } | | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| } | | } |
| list vrf { | | list vrf { |
| must | | must |
| "sr-policies/sr-policy or | | "sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address"; | | nexthop-addresses/nexthop-address"; |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| n | } | n | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container topologies { | | container topologies { |
| description | | description |
| "Topology static route configuration subcommands"; | | "Topology static route configuration subcommands"; |
| list topology { | | list topology { |
| key "topology-name"; | | key "topology-name"; |
| description | | description |
| "Topology static route configuration subcommands"; | | "Topology static route configuration subcommands"; |
| leaf topology-name { | | leaf topology-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..63" { | | length "1..63" { |
| description | | description |
| "Topology name"; | | "Topology name"; |
| } | | } |
| } | | } |
| description | | description |
| "Topology static route configuration subcommands"; | | "Topology static route configuration subcommands"; |
| } | | } |
| container prefixes { | | container prefixes { |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| list prefix { | | list prefix { |
| must | | must |
| "sr-policies/sr-policy or | | "sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address or | | nexthop-addresses/nexthop-address or |
| nexthop-addresses/nexthop-address-segment-routing or | | nexthop-addresses/nexthop-address-segment-routing or |
| vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or | | vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or |
| vrfs/vrf/nexthop-interfaces/nexthop-interface or | | vrfs/vrf/nexthop-interfaces/nexthop-interface or |
| vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or | | vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or |
| vrfs/vrf/nexthop-addresses/nexthop-address"; | | vrfs/vrf/nexthop-addresses/nexthop-address"; |
| key "prefix-address prefix-length"; | | key "prefix-address prefix-length"; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| leaf prefix-address { | | leaf prefix-address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| } | | } |
| leaf prefix-length { | | leaf prefix-length { |
| type uint32 { | | type uint32 { |
| range "0..128"; | | range "0..128"; |
| } | | } |
| description | | description |
| "Destination prefix length"; | | "Destination prefix length"; |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| list nexthop-address-segment-routing { | | list nexthop-address-segment-routing { |
| key "address mpls-path-name"; | | key "address mpls-path-name"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| leaf mpls-path-name { | | leaf mpls-path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| n | } | n | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| } | | } |
| } | | } |
| container vrfs { | | container vrfs { |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| list vrf-only { | | list vrf-only { |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination only VRF"; | | "Destination only VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| n | } | n | |
| leaf description { | | |
| type string { | | |
| length "1..254" { | | |
| description | | |
| "short description of static route"; | | |
| } | | |
| } | | |
| description | | |
| "description of the static route"; | | |
| } | | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| } | | } |
| list vrf { | | list vrf { |
| must | | must |
| "sr-policies/sr-policy or | | "sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address"; | | nexthop-addresses/nexthop-address"; |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| n | } | n | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| n | } | n | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container vrfs { | | container vrfs { |
| description | | description |
| "VRF Static route configuration subcommands"; | | "VRF Static route configuration subcommands"; |
| list vrf { | | list vrf { |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "VRF Static route configuration subcommands"; | | "VRF Static route configuration subcommands"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF Static route configuration subcommands"; | | "VRF Static route configuration subcommands"; |
| } | | } |
| container address-family { | | container address-family { |
| description | | description |
| "Static route address family configuration subcommands"; | | "Static route address family configuration subcommands"; |
| container ipv4 { | | container ipv4 { |
| description | | description |
| "IPv4 commands"; | | "IPv4 commands"; |
| container unicast { | | container unicast { |
| description | | description |
| "Unicast commands"; | | "Unicast commands"; |
| container prefixes { | | container prefixes { |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| list prefix { | | list prefix { |
| must | | must |
| "segment-routing/mpls/path/names/name or | | "segment-routing/mpls/path/names/name or |
| n | remote-next-hop/addresses/address/tunnel/vxlan/indexes/index or | n | |
| sr-policies/sr-policy or | | sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address or | | nexthop-addresses/nexthop-address or |
| nexthop-addresses/nexthop-address-segment-routing or | | nexthop-addresses/nexthop-address-segment-routing or |
| vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or | | vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or |
| vrfs/vrf/nexthop-interfaces/nexthop-interface or | | vrfs/vrf/nexthop-interfaces/nexthop-interface or |
| vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or | | vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or |
| vrfs/vrf/nexthop-addresses/nexthop-address"; | | vrfs/vrf/nexthop-addresses/nexthop-address"; |
| key "prefix-address prefix-length"; | | key "prefix-address prefix-length"; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| leaf prefix-address { | | leaf prefix-address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| } | | } |
| leaf prefix-length { | | leaf prefix-length { |
| type uint32 { | | type uint32 { |
| range "0..128"; | | range "0..128"; |
| } | | } |
| description | | description |
| "Destination prefix length"; | | "Destination prefix length"; |
| } | | } |
| n | container remote-next-hop { | n | |
| description | | |
| "remote tunnel endpoint address in default VRF"; | | |
| container addresses { | | |
| description | | |
| "Forwarding router ipv4 address"; | | |
| list address { | | |
| key "address"; | | |
| description | | |
| "Forwarding router ipv4 or ipv6 address"; | | |
| leaf address { | | |
| type inet:ip-address-no-zone; | | |
| description | | |
| "Forwarding router ipv4 or ipv6 address"; | | |
| } | | |
| container tunnel { | | |
| description | | |
| "Static tunnel commands"; | | |
| container vxlan { | | |
| description | | |
| "VXLAN encap type"; | | |
| container indexes { | | |
| description | | |
| "32 bit unique index for this path"; | | |
| list index { | | |
| must "vni or evni"; | | |
| key "index-id"; | | |
| description | | |
| "32 bit unique index for this path"; | | |
| leaf index-id { | | |
| type uint32 { | | |
| range "0..4294967295" { | | |
| description | | |
| "32 bit unique index for this path"; | | |
| } | | |
| } | | |
| description | | |
| "32 bit unique index for this path"; | | |
| } | | |
| leaf nve { | | |
| type uint32 { | | |
| range "0..65535" { | | |
| description | | |
| "NVE ID to associate this Prefix"; | | |
| } | | |
| } | | |
| mandatory true; | | |
| description | | |
| "NVE ID to associate this Prefix"; | | |
| } | | |
| leaf vni { | | |
| type uint32 { | | |
| range "1..16777215" { | | |
| description | | |
| "Ingress VNI for the tunnel prefix"; | | |
| } | | |
| } | | |
| must "not(../evni)"; | | |
| description | | |
| "Ingress VNI for the tunnel prefix"; | | |
| } | | |
| leaf evni { | | |
| type uint32 { | | |
| range "1..16777215" { | | |
| description | | |
| "Engress VNI for the tunnel prefix"; | | |
| } | | |
| } | | |
| must "../src-mac"; | | |
| description | | |
| "Engress VNI for the tunnel prefix"; | | |
| } | | |
| leaf src-mac { | | |
| type yang:mac-address; | | |
| description | | |
| "source mac for the VXLAN tunnel"; | | |
| } | | |
| leaf distance-metric-for-this-route { | | |
| type uint32 { | | |
| range "1..254" { | | |
| description | | |
| "Distance metric for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Distance metric for this route"; | | |
| } | | |
| leaf tag { | | |
| type uint32 { | | |
| range "1..4294967295" { | | |
| description | | |
| "Set tag for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set tag for this route"; | | |
| } | | |
| leaf description { | | |
| type xr:Cisco-ios-xr-string { | | |
| length "1..30" { | | |
| description | | |
| "short description of static route"; | | |
| } | | |
| } | | |
| description | | |
| "description of the static route"; | | |
| } | | |
| leaf track { | | |
| type xr:Cisco-ios-xr-string { | | |
| length "1..32" { | | |
| description | | |
| "Object to be tracked"; | | |
| } | | |
| } | | |
| description | | |
| "Enable object tracking for static route"; | | |
| } | | |
| leaf metric { | | |
| type uint32 { | | |
| range "1..16777214" { | | |
| description | | |
| "Set metric for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set metric for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | |
| description | | |
| "Flag passed to rib to prefer rib over ldp"; | | |
| } | | |
| container permanent { | | |
| presence "Indicates a permanent node is configured."; | | |
| description | | |
| "Permanent route"; | | |
| } | | |
| container tunnel-opt-mode { | | |
| description | | |
| "Tunnel optimization mode"; | | |
| container disable { | | |
| presence "Indicates a disable node is configured."; | | |
| description | | |
| "Disable per path optimization"; | | |
| } | | |
| } | | |
| } | | |
| } | | |
| } | | |
| } | | |
| } | | |
| } | | |
| } | | |
| container segment-routing { | | container segment-routing { |
| description | | description |
| "Configure Static Segment Routing"; | | "Configure Static Segment Routing"; |
| container mpls { | | container mpls { |
| description | | description |
| "Configure mpls path name"; | | "Configure mpls path name"; |
| container path { | | container path { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| container names { | | container names { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| list name { | | list name { |
| key "path-name"; | | key "path-name"; |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| leaf path-name { | | leaf path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| list nexthop-address-segment-routing { | | list nexthop-address-segment-routing { |
| key "address mpls-path-name"; | | key "address mpls-path-name"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| leaf mpls-path-name { | | leaf mpls-path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| } | | } |
| container vrfs { | | container vrfs { |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| list vrf-only { | | list vrf-only { |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination only VRF"; | | "Destination only VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| n | } | n | |
| leaf description { | | |
| type string { | | |
| length "1..254" { | | |
| description | | |
| "short description of static route"; | | |
| } | | |
| } | | |
| description | | |
| "description of the static route"; | | |
| } | | } |
| } | | } |
| list vrf { | | list vrf { |
| must | | must |
| "sr-policies/sr-policy or | | "sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address"; | | nexthop-addresses/nexthop-address"; |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container multicast { | | container multicast { |
| description | | description |
| "Multicast commands"; | | "Multicast commands"; |
| container prefixes { | | container prefixes { |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| list prefix { | | list prefix { |
| must | | must |
| "segment-routing/mpls/path/names/name or | | "segment-routing/mpls/path/names/name or |
| sr-policies/sr-policy or | | sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address or | | nexthop-addresses/nexthop-address or |
| nexthop-addresses/nexthop-address-segment-routing or | | nexthop-addresses/nexthop-address-segment-routing or |
| vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or | | vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or |
| vrfs/vrf/nexthop-interfaces/nexthop-interface or | | vrfs/vrf/nexthop-interfaces/nexthop-interface or |
| vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or | | vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or |
| vrfs/vrf/nexthop-addresses/nexthop-address"; | | vrfs/vrf/nexthop-addresses/nexthop-address"; |
| key "prefix-address prefix-length"; | | key "prefix-address prefix-length"; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| leaf prefix-address { | | leaf prefix-address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| } | | } |
| leaf prefix-length { | | leaf prefix-length { |
| type uint32 { | | type uint32 { |
| range "0..128"; | | range "0..128"; |
| } | | } |
| description | | description |
| "Destination prefix length"; | | "Destination prefix length"; |
| } | | } |
| container segment-routing { | | container segment-routing { |
| description | | description |
| "Configure Static Segment Routing"; | | "Configure Static Segment Routing"; |
| container mpls { | | container mpls { |
| description | | description |
| "Configure mpls path name"; | | "Configure mpls path name"; |
| container path { | | container path { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| container names { | | container names { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| list name { | | list name { |
| key "path-name"; | | key "path-name"; |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| leaf path-name { | | leaf path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| list nexthop-address-segment-routing { | | list nexthop-address-segment-routing { |
| key "address mpls-path-name"; | | key "address mpls-path-name"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| leaf mpls-path-name { | | leaf mpls-path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| } | | } |
| container vrfs { | | container vrfs { |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| list vrf-only { | | list vrf-only { |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination only VRF"; | | "Destination only VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| n | leaf description { | n | |
| type string { | | |
| length "1..254" { | | |
| description | | |
| "short description of static route"; | | |
| } | | |
| } | | |
| description | | |
| "description of the static route"; | | |
| } | | |
| } | | } |
| list vrf { | | list vrf { |
| must | | must |
| "sr-policies/sr-policy or | | "sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address"; | | nexthop-addresses/nexthop-address"; |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv4-address-no-zone; | | type inet:ipv4-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container ipv6 { | | container ipv6 { |
| description | | description |
| "IPv6 commands"; | | "IPv6 commands"; |
| container unicast { | | container unicast { |
| description | | description |
| "Unicast commands"; | | "Unicast commands"; |
| container prefixes { | | container prefixes { |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| list prefix { | | list prefix { |
| must | | must |
| "segment-routing/mpls/path/names/name or | | "segment-routing/mpls/path/names/name or |
| n | remote-next-hop/addresses/address/tunnel/vxlan/indexes/index or | n | |
| sr-policies/sr-policy or | | sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address or | | nexthop-addresses/nexthop-address or |
| nexthop-addresses/nexthop-address-segment-routing or | | nexthop-addresses/nexthop-address-segment-routing or |
| vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or | | vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or |
| vrfs/vrf/nexthop-interfaces/nexthop-interface or | | vrfs/vrf/nexthop-interfaces/nexthop-interface or |
| vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or | | vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or |
| vrfs/vrf/nexthop-addresses/nexthop-address"; | | vrfs/vrf/nexthop-addresses/nexthop-address"; |
| key "prefix-address prefix-length"; | | key "prefix-address prefix-length"; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| leaf prefix-address { | | leaf prefix-address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| } | | } |
| leaf prefix-length { | | leaf prefix-length { |
| type uint32 { | | type uint32 { |
| range "0..128"; | | range "0..128"; |
| } | | } |
| description | | description |
| "Destination prefix length"; | | "Destination prefix length"; |
| } | | } |
| container segment-routing { | | container segment-routing { |
| description | | description |
| "Configure Static Segment Routing"; | | "Configure Static Segment Routing"; |
| container mpls { | | container mpls { |
| description | | description |
| "Configure mpls path name"; | | "Configure mpls path name"; |
| container path { | | container path { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| container names { | | container names { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| list name { | | list name { |
| key "path-name"; | | key "path-name"; |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| leaf path-name { | | leaf path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| } | | |
| } | | |
| } | | |
| } | | |
| container remote-next-hop { | | |
| description | | |
| "remote tunnel endpoint address in default VRF"; | | |
| container addresses { | | |
| description | | |
| "Forwarding router ipv6 address"; | | |
| list address { | | |
| key "address"; | | |
| description | | |
| "Forwarding router ipv4 or ipv6 address"; | | |
| leaf address { | | |
| type inet:ip-address-no-zone; | | |
| description | | |
| "Forwarding router ipv4 or ipv6 address"; | | |
| } | | |
| container tunnel { | | |
| description | | |
| "Static tunnel commands"; | | |
| container vxlan { | | |
| description | | |
| "VXLAN encap type"; | | |
| container indexes { | | |
| description | | |
| "32 bit unique index for this path"; | | |
| list index { | | |
| must "vni or evni"; | | |
| key "index-id"; | | |
| description | | |
| "32 bit unique index for this path"; | | |
| leaf index-id { | | |
| type uint32 { | | |
| range "0..4294967295" { | | |
| description | | |
| "32 bit unique index for this path"; | | |
| } | | |
| } | | |
| description | | |
| "32 bit unique index for this path"; | | |
| } | | |
| leaf nve { | | |
| type uint32 { | | |
| range "0..65535" { | | |
| description | | |
| "NVE ID to associate this Prefix"; | | |
| } | | |
| } | | |
| mandatory true; | | |
| description | | |
| "NVE ID to associate this Prefix"; | | |
| } | | |
| leaf vni { | | |
| type uint32 { | | |
| range "1..16777215" { | | |
| description | | |
| "Ingress VNI for the tunnel prefix"; | | |
| } | | |
| } | | |
| must "not(../evni)"; | | |
| description | | |
| "Ingress VNI for the tunnel prefix"; | | |
| } | | |
| leaf evni { | | |
| type uint32 { | | |
| range "1..16777215" { | | |
| description | | |
| "Engress VNI for the tunnel prefix"; | | |
| } | | |
| } | | |
| must "../src-mac"; | | |
| description | | |
| "Engress VNI for the tunnel prefix"; | | |
| } | | |
| leaf src-mac { | | |
| type yang:mac-address; | | |
| description | | |
| "source mac for the VXLAN tunnel"; | | |
| } | | |
| leaf distance-metric-for-this-route { | | |
| type uint32 { | | |
| range "1..254" { | | |
| description | | |
| "Distance metric for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Distance metric for this route"; | | |
| } | | |
| leaf tag { | | |
| type uint32 { | | |
| range "1..4294967295" { | | |
| description | | |
| "Set tag for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set tag for this route"; | | |
| } | | |
| leaf description { | | |
| type xr:Cisco-ios-xr-string { | | |
| length "1..30" { | | |
| description | | |
| "short description of static route"; | | |
| } | | |
| } | | |
| description | | |
| "description of the static route"; | | |
| } | | |
| leaf track { | | |
| type xr:Cisco-ios-xr-string { | | |
| length "1..32" { | | |
| description | | |
| "Object to be tracked"; | | |
| } | | |
| } | | |
| description | | |
| "Enable object tracking for static route"; | | |
| } | | |
| leaf metric { | | |
| type uint32 { | | |
| range "1..16777214" { | | |
| description | | |
| "Set metric for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set metric for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | |
| description | | |
| "Flag passed to rib to prefer rib over ldp"; | | |
| } | | |
| container permanent { | | |
| presence "Indicates a permanent node is configured."; | | |
| description | | |
| "Permanent route"; | | |
| } | | |
| container tunnel-opt-mode { | | |
| description | | |
| "Tunnel optimization mode"; | | |
| container disable { | | |
| presence "Indicates a disable node is configured."; | | |
| description | | |
| "Disable per path optimization"; | | |
| } | | |
| } | | |
| } | | |
| } | | |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| list nexthop-address-segment-routing { | | list nexthop-address-segment-routing { |
| key "address mpls-path-name"; | | key "address mpls-path-name"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| leaf mpls-path-name { | | leaf mpls-path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| n | } | n | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| } | | } |
| } | | } |
| container vrfs { | | container vrfs { |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| list vrf-only { | | list vrf-only { |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination only VRF"; | | "Destination only VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| n | } | n | |
| leaf description { | | |
| type string { | | |
| length "1..254" { | | |
| description | | |
| "short description of static route"; | | |
| } | | |
| } | | |
| description | | |
| "description of the static route"; | | |
| } | | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| } | | } |
| list vrf { | | list vrf { |
| must | | must |
| "sr-policies/sr-policy or | | "sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address"; | | nexthop-addresses/nexthop-address"; |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| n | } | n | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| n | } | n | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container multicast { | | container multicast { |
| description | | description |
| "Multicast commands"; | | "Multicast commands"; |
| container prefixes { | | container prefixes { |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| list prefix { | | list prefix { |
| must | | must |
| "segment-routing/mpls/path/names/name or | | "segment-routing/mpls/path/names/name or |
| sr-policies/sr-policy or | | sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address or | | nexthop-addresses/nexthop-address or |
| nexthop-addresses/nexthop-address-segment-routing or | | nexthop-addresses/nexthop-address-segment-routing or |
| vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or | | vrfs/vrf-only or vrfs/vrf/sr-policies/sr-policy or |
| vrfs/vrf/nexthop-interfaces/nexthop-interface or | | vrfs/vrf/nexthop-interfaces/nexthop-interface or |
| vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or | | vrfs/vrf/nexthop-interface-addresses/nexthop-interface-address or |
| vrfs/vrf/nexthop-addresses/nexthop-address"; | | vrfs/vrf/nexthop-addresses/nexthop-address"; |
| key "prefix-address prefix-length"; | | key "prefix-address prefix-length"; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| leaf prefix-address { | | leaf prefix-address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Destination prefix"; | | "Destination prefix"; |
| } | | } |
| leaf prefix-length { | | leaf prefix-length { |
| type uint32 { | | type uint32 { |
| range "0..128"; | | range "0..128"; |
| } | | } |
| description | | description |
| "Destination prefix length"; | | "Destination prefix length"; |
| } | | } |
| container segment-routing { | | container segment-routing { |
| description | | description |
| "Configure Static Segment Routing"; | | "Configure Static Segment Routing"; |
| container mpls { | | container mpls { |
| description | | description |
| "Configure mpls path name"; | | "Configure mpls path name"; |
| container path { | | container path { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| container names { | | container names { |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| list name { | | list name { |
| key "path-name"; | | key "path-name"; |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| leaf path-name { | | leaf path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| list nexthop-address-segment-routing { | | list nexthop-address-segment-routing { |
| key "address mpls-path-name"; | | key "address mpls-path-name"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| leaf mpls-path-name { | | leaf mpls-path-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "Path name"; | | "Path name"; |
| } | | } |
| } | | } |
| description | | description |
| "Configure path name"; | | "Configure path name"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| n | } | n | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| } | | } |
| } | | } |
| container vrfs { | | container vrfs { |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| list vrf-only { | | list vrf-only { |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination only VRF"; | | "Destination only VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| n | } | n | |
| leaf description { | | |
| type string { | | |
| length "1..254" { | | |
| description | | |
| "short description of static route"; | | |
| } | | |
| } | | |
| description | | |
| "description of the static route"; | | |
| } | | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| } | | } |
| list vrf { | | list vrf { |
| must | | must |
| "sr-policies/sr-policy or | | "sr-policies/sr-policy or |
| nexthop-interfaces/nexthop-interface or | | nexthop-interfaces/nexthop-interface or |
| nexthop-interface-addresses/nexthop-interface-address or | | nexthop-interface-addresses/nexthop-interface-address or |
| nexthop-addresses/nexthop-address"; | | nexthop-addresses/nexthop-address"; |
| key "vrf-name"; | | key "vrf-name"; |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| leaf vrf-name { | | leaf vrf-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "VRF name"; | | "VRF name"; |
| } | | } |
| } | | } |
| description | | description |
| "Destination VRF"; | | "Destination VRF"; |
| } | | } |
| container sr-policies { | | container sr-policies { |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| list sr-policy { | | list sr-policy { |
| key "sr-policy-name"; | | key "sr-policy-name"; |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| leaf sr-policy-name { | | leaf sr-policy-name { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..1024" { | | length "1..1024" { |
| description | | description |
| "SR policy name"; | | "SR policy name"; |
| } | | } |
| } | | } |
| description | | description |
| "segment routing policy"; | | "segment routing policy"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interfaces { | | container nexthop-interfaces { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface { | | list nexthop-interface { |
| key "interface-name"; | | key "interface-name"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| n | } | n | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-interface-addresses { | | container nexthop-interface-addresses { |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| list nexthop-interface-address { | | list nexthop-interface-address { |
| key "interface-name address"; | | key "interface-name address"; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| leaf interface-name { | | leaf interface-name { |
| type xr:Interface-name; | | type xr:Interface-name; |
| description | | description |
| "Forwarding interface"; | | "Forwarding interface"; |
| } | | } |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| n | leaf algorithm { | n | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| container nexthop-addresses { | | container nexthop-addresses { |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| list nexthop-address { | | list nexthop-address { |
| key "address"; | | key "address"; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| description | | description |
| "Forwarding router's address"; | | "Forwarding router's address"; |
| } | | } |
| container bfd { | | container bfd { |
| description | | description |
| "Configure BFD paramenters"; | | "Configure BFD paramenters"; |
| container fast-detect { | | container fast-detect { |
| presence "Indicates a fast-detect node is configured."; | | presence "Indicates a fast-detect node is configured."; |
| description | | description |
| "Enable Fast detection"; | | "Enable Fast detection"; |
| leaf minimum-interval { | | leaf minimum-interval { |
| type uint32 { | | type uint32 { |
| range "3..30000" { | | range "3..30000" { |
| description | | description |
| "interval in milli-seconds"; | | "interval in milli-seconds"; |
| } | | } |
| } | | } |
| description | | description |
| "Hello interval"; | | "Hello interval"; |
| } | | } |
| leaf multiplier { | | leaf multiplier { |
| type uint32 { | | type uint32 { |
| range "1..10" { | | range "1..10" { |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| } | | } |
| description | | description |
| "Detect multiplier"; | | "Detect multiplier"; |
| } | | } |
| container multihop { | | container multihop { |
| presence "Indicates a multihop node is configured."; | | presence "Indicates a multihop node is configured."; |
| description | | description |
| "Enable BFD Multihop"; | | "Enable BFD Multihop"; |
| leaf address { | | leaf address { |
| type inet:ipv6-address-no-zone; | | type inet:ipv6-address-no-zone; |
| mandatory true; | | mandatory true; |
| description | | description |
| "Source address"; | | "Source address"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| leaf distance-metric { | | leaf distance-metric { |
| type uint32 { | | type uint32 { |
| range "1..254" { | | range "1..254" { |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Distance metric for this route"; | | "Distance metric for this route"; |
| } | | } |
| leaf tag { | | leaf tag { |
| type uint32 { | | type uint32 { |
| range "1..4294967295" { | | range "1..4294967295" { |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set tag for this route"; | | "Set tag for this route"; |
| } | | } |
| container permanent { | | container permanent { |
| presence "Indicates a permanent node is configured."; | | presence "Indicates a permanent node is configured."; |
| description | | description |
| "Permanent route"; | | "Permanent route"; |
| } | | } |
| leaf vrflabel { | | leaf vrflabel { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| } | | } |
| description | | description |
| "VRF label"; | | "VRF label"; |
| } | | } |
| leaf tunnel-id { | | leaf tunnel-id { |
| type uint32 { | | type uint32 { |
| range "0..4294967295" { | | range "0..4294967295" { |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| } | | } |
| description | | description |
| "Tunnel ID"; | | "Tunnel ID"; |
| } | | } |
| leaf description { | | leaf description { |
| type string { | | type string { |
| length "1..30" { | | length "1..30" { |
| description | | description |
| "short description of static route"; | | "short description of static route"; |
| } | | } |
| } | | } |
| description | | description |
| "description of the static route"; | | "description of the static route"; |
| } | | } |
| leaf track { | | leaf track { |
| type xr:Cisco-ios-xr-string { | | type xr:Cisco-ios-xr-string { |
| length "1..32" { | | length "1..32" { |
| description | | description |
| "Object to be tracked"; | | "Object to be tracked"; |
| } | | } |
| } | | } |
| description | | description |
| "Enable object tracking for static route"; | | "Enable object tracking for static route"; |
| } | | } |
| leaf metric { | | leaf metric { |
| type uint32 { | | type uint32 { |
| range "1..16777214" { | | range "1..16777214" { |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| } | | } |
| } | | } |
| description | | description |
| "Set metric for this route"; | | "Set metric for this route"; |
| t | } | t | |
| leaf algorithm { | | |
| type uint32 { | | |
| range "128..255" { | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | |
| } | | |
| description | | |
| "Set algorithm value for this route"; | | |
| } | | } |
| container prefer-rib-over-ldp { | | container prefer-rib-over-ldp { |
| presence "Indicates a prefer-rib-over-ldp node is configured."; | | presence "Indicates a prefer-rib-over-ldp node is configured."; |
| description | | description |
| "Flag passed to rib to prefer rib over ldp"; | | "Flag passed to rib to prefer rib over ldp"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| container maximum { | | container maximum { |
| description | | description |
| "Limit the number of static paths which may be configured"; | | "Limit the number of static paths which may be configured"; |
| container path { | | container path { |
| description | | description |
| "Limit the number of static paths which may be configured"; | | "Limit the number of static paths which may be configured"; |
| container ipv4 { | | container ipv4 { |
| description | | description |
| "IPv4 commands"; | | "IPv4 commands"; |
| leaf maximum-number { | | leaf maximum-number { |
| type uint32 { | | type uint32 { |
| range "1..140000" { | | range "1..140000" { |
| description | | description |
| "The maximum number of static paths which can be configured"; | | "The maximum number of static paths which can be configured"; |
| } | | } |
| } | | } |
| description | | description |
| "The maximum number of static paths which can be configured"; | | "The maximum number of static paths which can be configured"; |
| } | | } |
| } | | } |
| container ipv6 { | | container ipv6 { |
| description | | description |
| "IPv6 commands"; | | "IPv6 commands"; |
| leaf maximum-number { | | leaf maximum-number { |
| type uint32 { | | type uint32 { |
| range "1..140000" { | | range "1..140000" { |
| description | | description |
| "The maximum number of static paths which can be configured"; | | "The maximum number of static paths which can be configured"; |
| } | | } |
| } | | } |
| description | | description |
| "The maximum number of static paths which can be configured"; | | "The maximum number of static paths which can be configured"; |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |
| } | | } |